<html>
	<head>
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	    <script type="text/javascript" src="../zxt/zxt.js"></script>
	    <script>importZXT("../zxt");</script>
			<jsp:include page="/WEB-INF/ZXTJSP/ZXTHeader.jsp" />
	    <script type="text/javascript" src="./GRID2.js"></script>
			<script type="text/javascript" src="./cvsdata.js"></script>	
	</head>

<body> 
	  
	<div zxt="zxt.ui.Fieldset" zxt.title="CONDITION" zxt.fixed="true" zxt.folded="true" style='width:1000px;margin-bottom:2px'>
		<table>
			<tr>
				<td width="5%" align="right">ID</td>
				<td width="20%"><div id="ID" zxt="zxt.ui.Textbox"></div></td>
				<td width="5%" align="right">BANK</td>
				<td width="20%"><div id="Name" zxt="zxt.ui.Textbox"></div></td>
				<td width="20%">
					<div id="Query"  zxt="zxt.ui.Button" zxt.label="Query" zxt.text="GO!" ></div>					
				</td>
				<td width="30%">
					<div id="Clear"  zxt="zxt.ui.Button" zxt.label="Clear" zxt.text="清除" ></div>
				</td>
			</tr>
		</table>
	</div>
	
	
	
	<table cellspacing=0 cellpadding=0 border=0 style='width:1000px'>
		<tr>
			<td colspan=2>				
				<div id="grid" style='overflow:auto;width:1000px' zxt="zxt.ui.DataGrid" zxt.model="tmodel" zxt.selMode="1" zxt.editMode="2" zxt.start="0" zxt.limit="25" zxt.fixHeight="false" zxt.height="100" zxt.configFunc = "configMainGrid">					
					<div zxt.column="card" zxt.title="卡号" zxt.width="150"></div>
					<div zxt.column="bank" zxt.title="银行" >
						<div conf="Options" >														
							<div zxt.service="BANKS" zxt.method="query"></div>
						</div>
					</div>
					<div zxt.column="type" >
						<div conf="Options" >							
							<div zxt.option="" zxt.label="请选择"></div>							
							<div zxt.service="PRODS" zxt.method="query"></div>
						</div>
					</div>
				</div>
			</td>
		</tr>
				
		<tr>
			<td colspan=2>
				<div id="gridTailBar"  zxt="zxt.ui.Bar">
					<div id="scroller" zxt="zxt.ui.DataScroller" zxt.front="true" zxt.model="tmodel" zxt.page="25"></div>					
				</div>
			</td>
		</tr>
								
	</table>
	 
   

	</div>
	</div>
</body>
</html>

<script type="text/javascript">	
	$zxt.init("GRID2");	
	
	$zxtUI.scroller.addListener($zxtUI.grid);
</script>





